require 'net/http'
require 'rexml/document'

include REXML

url = ARGV[0]
respuesta = Net::HTTP.get  url,'/'
file = File.new(respuesta)
doc=Document.new
doc.root.elements['channel']-each_element('item'){ |item|
  puts "*" + item.elements['title'].text
  puts "*" + item.elements['pubDate'].text
}

